﻿<?
	/*
	 * 问答系统－－待解决问题清单显示界面
	 * 
	 * author:	天
	 * 
	 * date:	2009-2-28
	 * 
	 */
?>

<html>
<head>
	<title>待解决问题－－问答系统</title>
	<meta http-equiv="Content-Type" content="text/xml; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="http://127.0.0.1/CodeIgniter/web.css" />
</head>

<body>
	<a href="/CodeIgniter/ask">问答首页</a>→
	<a href="/CodeIgniter/questions/active">待解决问题</a>
	<br>
	<div class="crumbs">
	待解决问题
	</div>
	<table border=1>
		<tr>
			<td>问题</td>
			<td width="80"><center>类型</center></td>
			<td width="150"><center>提问时间</center></td>
			<td>回答</td>
			<td>悬赏</td>
		</tr>
		
	  	<tr>
		    <? foreach($list as $row):?>
					<td><a href="/CodeIgniter/questions/<?=$row->qid ?>"><?=$row->title ?></a></td>
					<td><center><a href="/CodeIgniter/questions/ctags/<?=$row->cid ?>"><?=$row->name ?></a></center></td>
					<td><center><?=$row->postdate ?></center></td>
					<td><center><?=$row->answercount ?></center></td>
					<td><center><?=$row->price ?></center></td>
		</tr>
			<? endforeach; ?>
			
</table>
	<?php echo $this->pagination->create_links(); ?> 
</body>
</html>